

const LocalKey = 'tyb_token_local_key'

export const getToken = () => localStorage.getItem(LocalKey)

export const setToken = (token) => localStorage.setItem(LocalKey, token)

export const clearToken = () => localStorage.removeItem(LocalKey)